package cn.liit.weixin.message.model.resp;
/**
 * 响应消息基类
 * @author boqi.zhang
 *
 */
public abstract class RespBaseMessage {
	
	private String ToUserName; 		//接收方帐号（收到的OpenID）
    private String FromUserName;	//开发者微信号
    private String CreateTime; 		//消息创建时间 （整型）  
    private String MsgType; 		//消息类型（text/image/voice/video/music/news）
    
	public RespBaseMessage(String msgType) {
		super();
		this.MsgType=msgType;
	}
	public String getToUserName() {
		return ToUserName;
	}
	public void setToUserName(String toUserName) {
		ToUserName = toUserName;
	}
	public String getFromUserName() {
		return FromUserName;
	}
	public void setFromUserName(String fromUserName) {
		FromUserName = fromUserName;
	}
	public String getCreateTime() {
		return CreateTime;
	}
	public void setCreateTime(String createTime) {
		CreateTime = createTime;
	}
	public String getMsgType() {
		return MsgType;
	}
	public void setMsgType(String msgType) {
		MsgType = msgType;
	}
	@Override
	public String toString() {
		return "RespBaseMessage [ToUserName=" + ToUserName + ", FromUserName=" + FromUserName + ", CreateTime="
				+ CreateTime + ", MsgType=" + MsgType + "]";
	}
    
}
